package com.xinqi.modules.prepare.courseware.dto.req;

import com.xinqi.common.base.dto.CommonFileDTO;
import com.xinqi.common.base.dto.QuestionBaseDTO;
import com.xinqi.common.green.annotation.Text;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 备课区互动课件切片-请求对象-新增
 *
 * @author: system
 * @date: 2023/03/19
 */
@Data
@Schema(description = "备课区互动课件切片-请求对象-新增")
public class PrepareCoursewarePartCreateDTO implements Serializable {

    /**
     * 备课区id
     */
    @Schema(description = "备课区id", example = "")
    private Long prepareId;
    /**
     * 备课区互动课件id
     */
    @Schema(description = "备课区互动课件id", example = "")
    private Long coursewareId;
    /**
     * 名称
     */
    @Text
    @Schema(description = "名称", example = "")
    private String name;
    /**
     * 切片序号
     */
    @Schema(description = "切片序号", example = "")
    private Integer pageNumber;
    /**
     * 文件类型
     */
    @Schema(description = "文件类型", example = "")
    private String fileType;
    /**
     * 切片文件
     */
    @Schema(description = "切片文件", example = "")
    private CommonFileDTO file;
    /**
     * 总分
     */
    @Schema(description = "总分", example = "")
    private BigDecimal totalScore;
    /**
     * 题目总数
     */
    @Schema(description = "题目总数", example = "")
    private Integer questionTotal;
    /**
     * 题型总数
     */
    @Schema(description = "题型总数", example = "")
    private Integer questionTypeTotal;
    /**
     * 题目内容
     */
    @Schema(description = "题目内容", example = "")
    private List<QuestionBaseDTO> questionContent;
}
